package com.qingfeng;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@MapperScan({"com.qingfeng.base.dao","com.qingfeng.client.**.dao","com.qingfeng.coupon.**.dao"})
//@MapperScan({"com.qingfeng.client.dao"})
@Configuration
//如果service实现类中加入事务注解，需要此处添加该注解进行开启事务管理
@EnableTransactionManagement
@EnableScheduling
@SpringBootApplication
public class ClientApplication {

    public static void main(String[] args) {
        SpringApplication.run(ClientApplication.class, args);
    }

}
